* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

.clock {
  width: 30rem;
  height: 30rem;
  border: 7px solid #ffebdb;
  border-radius: 50%;
  background-image: url('bg.jpeg');
  background-size: 111%;
  padding: 2rem;
}

.outer-clock-face {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  position: relative;
}

.outer-clock-face::before,
.outer-clock-face::after {
  display: block;
  content: '';
  width: 1rem;
  height: 100%;
  background-color: #596235;

  position: absolute;
  left: 50%;
  margin-left: -5px;
  border-radius: 8px;
}

.outer-clock-face::after {
  transform: rotate(90deg);
}

.marking {
  width: 0.3rem;
  height: 100%;
  background-color: #596235;
  position: absolute;
  left: 50%;

  /* margin-left: -1.5px; */
  transform: translate(-50%, 0);

  border-radius: 8px;
  transform-origin: 50% 50%;
}

.marking-one {
  transform: rotate(30deg);
}

.marking-two {
  transform: rotate(60deg);
}

.marking-three {
  transform: rotate(120deg);
}

.marking-four {
  transform: rotate(150deg);
}

.inner-clock-face {
  width: 80%;
  height: 80%;
  border-radius: 100%;
  background-color: #ffebdb;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('bg.jpeg');
  background-size: 111%;
}

.hand {
  width: 50%;
  height: 0.6rem;
  background-color: #b03715;
  position: absolute;
  top: 50%;
  right: 50%;
  border-radius: 6px;
  margin-top: -3px;
  transform: rotate(90deg);
  transform-origin: 100% 50%;
}

.second-hand {
  width: 45%;
  height: 2px;
  margin-top: -1px;
  background-color: #b3b3b3;
}

.min-hand {
  width: 40%;
  height: 3px;
  margin-top: -1px;
}

.hour-hand {
  width: 30%;
  height: 4px;
  margin-top: -1px;
  background-color: #596235;
}
